FROM alpine:3.7

MAINTAINER TONE<wick.zt@gmail.com>


RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/latest-stable/main" > /etc/apk/repositories \
    && echo "https://mirror.tuna.tsinghua.edu.cn/alpine/latest-stable/community/" >> /etc/apk/repositories \
    && apk add --no-cache bash python3 \
    && ln -sf /usr/bin/python3 /usr/bin/python \
    && ln -sf /usr/bin/pip3 /usr/bin/pip

# ENTRYPOINT & EXPOSE
CMD [ "/usr/bin/python" ]
